<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>demo1</title>
		<link rel="stylesheet" type="text/css" href="../../assets/css/global.css" />
		<style type="text/css">
			.container {
				margin: 0 auto;
				width: 90%;
			}

			.header-fixed {
				position: fixed;
				/* 同.container的宽度 */
				width: 90%;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<!-- 头部悬停 -->
			<div class="header-fixed" style=" height: 100px; background: rgba(255, 144, 170, 0.5);"></div>
			<div style="height: 100vh; min-height: 500px; background-color: #bdb7ff"></div>
			<div style="height: 100vh; min-height: 500px; background-color: #b5ffc8"></div>
			<div style="height: 100vh; min-height: 500px; background-color: #fff5cb"></div>
		</div>
	</body>
</html>
